package com.eidetic.storage.db;

import java.util.Collection;

import com.eidetic.storage.IUnique;
import com.eidetic.util.exceptions.ItemNotFoundException;

public interface IStorageAdaptor<T extends IUnique>
{
	public T				fectch(int id) throws ItemNotFoundException;
	public Collection<T> 	fetchAll(); 
	public long				create(T obj);
	public void				update(T obj);
	public void				delete(T obj);
}
